
(function () {
	var K = document;
	function N() {
		var c = K.cookie, b = Math.round((new Date).getTime() / 1000), a = c.indexOf("__utma=") > -1, d = c.indexOf("__utmb=") > -1, h = c.indexOf("__utmc=") > -1, f, g = {};
		if (a) {
			f = c.split("__utma=")[1].split(";")[0].split(".");
			g.sid = (!d || !h ? b : f[4]) + "";
			g.vid = f[1] + "." + f[2];
			g.from_cookie = true;
		} else {
			g.sid = window && window.gaGlobal && window.gaGlobal.sid ? window.gaGlobal.sid : b + "";
			g.vid = window && window.gaGlobal && window.gaGlobal.vid ? window.gaGlobal.vid : Math.round(Math.random() * 2147483647) + "." + b;
			g.from_cookie = false;
		}
		g.hid = window && window.gaGlobal && window.gaGlobal.hid ? window.gaGlobal.hid : Math.round(Math.random() * 2147483647);
		window.gaGlobal = g;
		return g;
	}
	function n(c) {
		return c != null ? "\"" + c + "\"" : "\"\"";
	}
	function L(c) {
		if (typeof encodeURIComponent == "function") {
			return encodeURIComponent(c);
		} else {
			return escape(c);
		}
	}
	function e(c, b) {
		if (b) {
			window.google_ad_url += "&" + c + "=" + b;
		}
	}
	function i(c, b) {
		if (b) {
			e(c, L(b));
		}
	}
	function m(c, b, a) {
		if (b && typeof b == "object") {
			b = b[a % b.length];
		}
		e("color_" + c, b);
	}
	function P(c, b) {
		var a = c.screen, d = navigator.javaEnabled(), h = -b.getTimezoneOffset();
		if (a) {
			e("u_h", a.height);
			e("u_w", a.width);
			e("u_ah", a.availHeight);
			e("u_aw", a.availWidth);
			e("u_cd", a.colorDepth);
		}
		e("u_tz", h);
		e("u_his", history.length);
		e("u_java", d);
		if (navigator.plugins) {
			e("u_nplug", navigator.plugins.length);
		}
		if (navigator.mimeTypes) {
			e("u_nmime", navigator.mimeTypes.length);
		}
	}
	function u(c) {
		c = c.toLowerCase();
		if (c && c.substring(0, 3) != "ca-") {
			c = "ca-" + c;
		}
		return c;
	}
	function Z(c, b, a, d) {
		a = a.substring(0, 2000);
		a = a.replace(/%\w?$/, "");
		if (c.google_ad_output == "js" && (c.google_ad_request_done || c.google_radlink_request_done)) {
			b.write("<script language=\"JavaScript1.1\" src=" + n(a) + "></script>");
		} else {
			if (c.google_ad_output == "html") {
				if (c.name != "google_ads_frame") {
					if (d != null) {
						b.write("<div id=\"" + d + "\">");
					}
					b.write("<iframe name=\"google_ads_frame\" width=" + n(c.google_ad_width) + " height=" + n(c.google_ad_height) + " frameborder=" + n(c.google_ad_frameborder) + " src=" + n(a) + " marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\" allowtransparency=\"true\" scrolling=\"no\">");
					b.write("</iframe>");
					if (d != null) {
						b.write("</div>");
					}
				}
			} else {
				if (c.google_ad_output == "textlink") {
					b.write("<script language=\"JavaScript1.1\" src=" + n(a) + "></script>");
				}
			}
		}
	}
	function W(c) {
		var b = null;
		c.google_ad_frameborder = b;
		c.google_ad_format = b;
		c.google_page_url = b;
		c.google_language = b;
		c.google_gl = b;
		c.google_country = b;
		c.google_region = b;
		c.google_city = b;
		c.google_hints = b;
		c.google_safe = b;
		c.google_encoding = b;
		c.google_ad_output = b;
		c.google_max_num_ads = b;
		c.google_ad_channel = b;
		c.google_contents = b;
		c.google_alternate_ad_url = b;
		c.google_alternate_color = b;
		c.google_color_bg = b;
		c.google_color_text = b;
		c.google_color_link = b;
		c.google_color_url = b;
		c.google_color_border = b;
		c.google_color_line = b;
		c.google_reuse_colors = b;
		c.google_adtest = b;
		c.google_kw_type = b;
		c.google_kw = b;
		c.google_num_radlinks = b;
		c.google_max_radlink_len = b;
		c.google_rl_filtering = b;
		c.google_rl_mode = b;
		c.google_rt = b;
		c.google_rl_dest_url = b;
		c.google_num_radlinks_per_unit = b;
		c.google_ad_type = b;
		c.google_image_size = b;
		c.google_feedback = b;
		c.google_skip = b;
		c.google_page_location = b;
		c.google_referrer_url = b;
		c.google_ad_region = b;
		c.google_ad_section = b;
		c.google_bid = b;
		c.google_cpa_choice = b;
		c.google_cust_age = b;
		c.google_cust_gender = b;
		c.google_cust_interests = b;
		c.google_cust_id = b;
		c.google_cust_job = b;
		c.google_cust_u_url = b;
		c.google_cust_l = b;
		c.google_cust_lh = b;
		c.google_cust_ch = b;
		c.google_ed = b;
		c.google_targeting = b;
		c.google_ad_host = b;
		c.google_ad_slot = b;
		c.google_ad_override = b;
		c.google_ui_features = b;
		c.google_only_ads_with_video = b;
		c.google_disable_video_autoplay = b;
	}
	function I(c) {
		var b = null, a = window, d = document, h = new Date, f = h.getTime(), g = a.google_ad_format;
		if (a.google_cpa_choice) {
			a.google_ad_url = "http://pagead2.googlesyndication.com/cpa/ads?";
			a.google_ad_url += "client=" + escape(u(a.google_ad_client));
			a.google_ad_region = "_google_cpa_region_";
			e("cpa_choice", a.google_cpa_choice);
			if (typeof d.characterSet != "undefined") {
				i("oe", d.characterSet);
			} else {
				if (typeof d.charset != "undefined") {
					i("oe", d.charset);
				}
			}
		} else {
			a.google_ad_url = "http://pagead2.googlesyndication.com/pagead/ads?";
			a.google_ad_url += "client=" + escape(u(a.google_ad_client));
		}
		e("host", a.google_ad_host);
		var j = a.google_num_slots_by_client, D = a.google_num_slots_by_channel, l = a.google_prev_ad_formats_by_region;
		if (a.google_ad_region == b && a.google_ad_section != b) {
			a.google_ad_region = a.google_ad_section;
		}
		var k = a.google_ad_region == b ? "" : a.google_ad_region, x = false;
		if (g) {
			x = g.indexOf("_0ads") > 0;
		}
		if (x) {
			if (a.google_num_0ad_slots) {
				a.google_num_0ad_slots = a.google_num_0ad_slots + 1;
			} else {
				a.google_num_0ad_slots = 1;
			}
			if (a.google_num_0ad_slots > 3) {
				return false;
			}
		} else {
			if (!a.google_cpa_choice) {
				if (a.google_num_ad_slots) {
					a.google_num_ad_slots = a.google_num_ad_slots + 1;
				} else {
					a.google_num_ad_slots = 1;
				}
				if (a.google_num_slots_to_rotate) {
					l[k] = b;
					if (a.google_num_slot_to_show == b) {
						a.google_num_slot_to_show = f % a.google_num_slots_to_rotate + 1;
					}
					if (a.google_num_slot_to_show != a.google_num_ad_slots) {
						return false;
					}
				} else {
					if (a.google_num_ad_slots > 3 && k == "") {
						return false;
					}
				}
			}
		}
		e("dt", h.getTime());
		e("hl", a.google_language);
		if (a.google_country) {
			e("gl", a.google_country);
		} else {
			e("gl", a.google_gl);
		}
		e("gr", a.google_region);
		i("gcs", a.google_city);
		i("hints", a.google_hints);
		e("adsafe", a.google_safe);
		e("oe", a.google_encoding);
		e("lmt", a.google_last_modified_time);
		i("alternate_ad_url", a.google_alternate_ad_url);
		e("alt_color", a.google_alternate_color);
		e("skip", a.google_skip);
		e("targeting", a.google_targeting);
		var p = a.google_ad_client;
		if (!j[p]) {
			j[p] = 1;
			j.length += 1;
		} else {
			j[p] += 1;
		}
		if (l[k]) {
			i("prev_fmts", l[k].toLowerCase());
			if (j.length > 1) {
				e("slot", j[p]);
			}
		}
		if (g && !a.google_ad_slot) {
			i("format", g.toLowerCase());
			if (l[k]) {
				l[k] = l[k] + "," + g;
			} else {
				l[k] = g;
			}
		}
		e("num_ads", a.google_max_num_ads);
		e("output", c != b ? c : a.google_ad_output);
		e("adtest", a.google_adtest);
		if (a.google_ad_slot) {
			e("slotname", a.google_ad_slot);
		}
		i("correlator", a.google_correlator);
		if (a.google_ad_channel) {
			var y = a.google_ad_channel;
			i("channel", y);
			var z = "", A = y.split("+");
			for (var s = 0; s < A.length; s++) {
				var t = A[s];
				if (!D[t]) {
					D[t] = 1;
				} else {
					z += t + "+";
				}
			}
			i("pv_ch", z);
		}
		i("url", a.google_page_url);
		m("bg", a.google_color_bg, f);
		m("text", a.google_color_text, f);
		m("link", a.google_color_link, f);
		m("url", a.google_color_url, f);
		m("border", a.google_color_border, f);
		m("line", a.google_color_line, f);
		if (a.google_reuse_colors) {
			e("reuse_colors", 1);
		} else {
			e("reuse_colors", 0);
		}
		e("kw_type", a.google_kw_type);
		i("kw", a.google_kw);
		i("contents", a.google_contents);
		e("num_radlinks", a.google_num_radlinks);
		e("max_radlink_len", a.google_max_radlink_len);
		e("rl_filtering", a.google_rl_filtering);
		e("rl_mode", a.google_rl_mode);
		e("rt", a.google_rt);
		i("rl_dest_url", a.google_rl_dest_url);
		e("num_radlinks_per_unit", a.google_num_radlinks_per_unit);
		e("ad_type", a.google_ad_type);
		e("image_size", a.google_image_size);
		e("region", a.google_ad_region);
		e("feedback_link", a.google_feedback);
		i("ref", a.google_referrer_url);
		i("loc", a.google_page_location);
		e("bid", a.google_bid);
		e("cust_age", a.google_cust_age);
		e("cust_gender", a.google_cust_gender);
		e("cust_interests", a.google_cust_interests);
		e("cust_id", a.google_cust_id);
		e("cust_job", a.google_cust_job);
		e("cust_u_url", a.google_cust_u_url);
		e("cust_l", a.google_cust_l);
		e("cust_lh", a.google_cust_lh);
		e("cust_ch", a.google_cust_ch);
		e("ed", a.google_ed);
		i("ui", a.google_ui_features);
		i("only_ads_with_video", a.google_only_ads_with_video);
		i("disable_video_autoplay", a.google_disable_video_autoplay);
		if (G(a, d) && d.body) {
			var B = d.body.scrollHeight, C = d.body.clientHeight;
			if (C && B) {
				i("cc", Math.round(C * 100 / B));
			}
		}
		N();
		e("ga_vid", a.gaGlobal.vid);
		e("ga_sid", a.gaGlobal.sid);
		e("ga_hid", a.gaGlobal.hid);
		e("ga_fc", a.gaGlobal.from_cookie);
		i("ga_wpids", a.google_analytics_webpropids);
		e("google_ad_override", a.google_ad_override);
		e("flash", a.google_flash_version);
		P(a, h);
		return true;
	}
	function H() {
		var c = window, b = document, a = false;
		if (Q(c.google_ad_output, c.google_ad_client) && !Y()) {
			a = true;
		}
		var d = a ? "json_html" : null;
		if (!I(d)) {
			return;
		}
		if (!a) {
			Z(c, b, c.google_ad_url, null);
		} else {
			V();
		}
		W(c);
	}
	function M(c, b, a) {
		H();
		return true;
	}
	function G(c, b) {
		return c.top.location == b.location;
	}
	function F(c, b) {
		var a = b.documentElement;
		if (G(c, b)) {
			return false;
		}
		if (c.google_ad_width && c.google_ad_height) {
			var d = 1, h = 1;
			if (c.innerHeight) {
				d = c.innerWidth;
				h = c.innerHeight;
			} else {
				if (a && a.clientHeight) {
					d = a.clientWidth;
					h = a.clientHeight;
				} else {
					if (b.body) {
						d = b.body.clientWidth;
						h = b.body.clientHeight;
					}
				}
			}
			if (h > 2 * c.google_ad_height || d > 2 * c.google_ad_width) {
				return false;
			}
		}
		return true;
	}
	function R(c) {
		var b = window, a = document, d = a.location, h = a.referrer, f = null, g = b.onerror;
		b.onerror = c;
		if (b.google_ad_frameborder == f) {
			b.google_ad_frameborder = 0;
		}
		if (b.google_ad_output == f) {
			b.google_ad_output = "html";
		}
		if (b.google_ad_format == f && b.google_ad_output == "html") {
			b.google_ad_format = b.google_ad_width + "x" + b.google_ad_height;
		}
		if (b.google_page_url == f) {
			b.google_page_url = h;
			if (!F(b, a)) {
				b.google_page_url = d;
				b.google_last_modified_time = Date.parse(a.lastModified) / 1000;
				b.google_referrer_url = h;
			}
		} else {
			b.google_page_location = h;
			if (!F(b, a)) {
				b.google_page_location = d;
			}
		}
		if (b.google_num_slots_by_channel == f) {
			b.google_num_slots_by_channel = [];
		}
		if (b.google_num_slots_by_client == f) {
			b.google_num_slots_by_client = [];
		}
		if (b.google_prev_ad_formats_by_region == f) {
			b.google_prev_ad_formats_by_region = [];
		}
		if (b.google_correlator == f) {
			b.google_correlator = (new Date).getTime();
		}
		if (b.google_adslot_loaded == f) {
			b.google_adslot_loaded = {};
		}
		if (b.google_adContentsBySlot == f) {
			b.google_adContentsBySlot = {};
		}
		if (b.google_flash_version == f) {
			b.google_flash_version = J().toString();
		}
		b.onerror = g;
	}
	function o(c) {
		if (c in q) {
			return q[c];
		}
		return q[c] = navigator.userAgent.toLowerCase().indexOf(c) != -1;
	}
	var q = {};
	function r() {
		return o("msie") && !window.opera;
	}
	function v() {
		return o("safari");
	}
	function O() {
		var c = navigator.userAgent, b = c.indexOf("MSIE ");
		if (b == -1) {
			return 0;
		} else {
			return parseFloat(c.substring(b + 5, c.indexOf(";", b)));
		}
	}
	function Y() {
		if (r()) {
			var c = O();
			return c <= 5;
		} else {
			if (o("firefox")) {
				var b = navigator.userAgent.indexOf("Firefox") + 8, a = parseInt(navigator.userAgent.charAt(b)), d = navigator.userAgent.slice(b);
				return a < 1;
			} else {
				if (v()) {
					var b = navigator.userAgent.indexOf("Safari") + 7, d = navigator.userAgent.slice(b), h = parseInt(d);
					return h < 412;
				} else {
					if (window.opera != null) {
						var b = navigator.userAgent.indexOf("Opera") + 6, d = navigator.userAgent.slice(b), a = parseInt(d);
						return a < 9;
					} else {
						if (!r() && !v() && o("mozilla")) {
							var b = navigator.userAgent.indexOf("Netscape") + 9, d = navigator.userAgent.slice(b), a = parseInt(d);
							return a < 7;
						} else {
							return true;
						}
					}
				}
			}
		}
	}
	function Q(c, b) {
		if (c != "html") {
			return false;
		}
		var a = {};
		a["ca-pub-8954402009499768"] = true;
		a["ca-pub-7027491298716603"] = true;
		a["ca-pub-8091322912406003"] = true;
		a["ca-pub-2996719119399840"] = true;
		a["ca-pub-2071992140100640"] = true;
		a["ca-pub-8887131281660947"] = true;
		a["ca-pub-9425162160615080"] = true;
		a["ca-pub-0636374063477327"] = true;
		a["ca-pub-4840216691262122"] = true;
		a["ca-pub-6655028338425523"] = true;
		a["ca-pub-9500441424288493"] = true;
		a["ca-pub-7869439110764952"] = true;
		a["ca-pub-6682766817737063"] = true;
		a["ca-pub-3645353514626463"] = true;
		return a[u(b)] != null;
	}
	function V() {
		var c = window;
		e("impl", "s");
		e("callback", "_google_setAdContentsBySlotForSync");
		document.write("<script src = '" + c.google_ad_url + "'></script>");
	}
	function X(c) {
		var b = document.getElementById("google_flash_div");
		if (b != null) {
			b.style.height = c + "px";
		}
		var a = document.getElementById("google_flash_obj");
		if (a != null) {
			a.height = c;
		}
		var d = document.getElementById("google_flash_embed");
		if (d != null) {
			d.height = c;
		}
	}
	window.google_createDivWithContent = function (c) {
		var b = window, a = "google_ads_div_" + c, d = "<div id=" + a + ">", h = b.google_adContentsBySlot[c];
		if (h == null) {
			return;
		}
		d += h._html_;
		d += "\n</div>\n";
		document.write(d);
	};
	window.google_createDOMIframe = function (c, b, a, d) {
		var h = document.getElementsByTagName("script"), f = h[h.length - 1], g = document.createElement("iframe");
		g.id = "google_ads_iframe_" + c;
		g.width = b;
		g.height = a;
		g.vspace = 0;
		g.hspace = 0;
		g.allowTransparency = "true";
		g.scrolling = "no";
		g.marginWidth = 0;
		g.marginHeight = 0;
		g.frameBorder = 0;
		g.style.border = 0;
		f.parentNode.appendChild(g);
		g.contentWindow.document.write(d);
		g.contentWindow.document.close();
	};
	window.google_createiframe = function (c, b, a, d, h) {
		var f = "google_ads_div_" + c, g = "google_ads_iframe_" + c, j = "<div id=" + f + ">";
		j += "<iframe id=" + g + " width=\"" + d + "\" height=\"" + h + "\" vspace=\"0\" hspace=\"0\" allowtransparency=\"true\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\" style=\"border:0px;\" src=\"" + b.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\"/g, "&quot;") + "\"";
		j += " onload=\"" + a + "\"";
		j += "></iframe></div>";
		document.write(j);
	};
	var w = "google_ads_iframe_".length;
	function E(c) {
		var b = c.getAttribute("id"), a = b.substr(w, b.length - w);
		return a;
	}
	function S(c) {
		var b = window, a = E(c), d = b.google_adslot_loaded[a];
		if (d) {
			return;
		}
		b.google_adslot_loaded[a] = true;
		var h = window.google_adContentsBySlot[a], f = c.contentWindow ? c.contentWindow.document : c.contentDocument;
		if (f == null) {
			if (document.implementation && document.implementation.createDocument) {
				f = document.implementation.createDocument("", a, null);
			} else {
				if (typeof ActiveXObject != undefined) {
					f = new ActiveXObject("Msxml.DOMDocument");
				} else {
					return;
				}
			}
		}
		f.open("text/html", "replace");
		f.write(h._html_);
		f.close();
	}
	window._google_syncAdSlotLoaded = function (c) {
		var b = E(c);
		S(c);
	};
	window._google_setAdContentsBySlotForSync = function (c) {
		var b = window;
		for (var a in c) {
			var d = c[a];
			b.google_adContentsBySlot[a] = d;
			if (d == null || d._empty_) {
			} else {
				if (d._expandable_) {
					b.google_createDivWithContent(a);
				} else {
					if (navigator.userAgent.indexOf("MSIE ") > 0) {
						b.google_adslot_loaded[a] = false;
						var h = "window._google_syncAdSlotLoaded(this);";
						b.google_createiframe(a, "about:blank", h, d._width_, d._height_);
					} else {
						b.google_createDOMIframe(a, d._width_, d._height_, d._html_);
					}
				}
			}
		}
	};
	function U(c) {
		var b = {}, a = c.split("?"), d = a[a.length - 1].split("&");
		for (var h = 0; h < d.length; h++) {
			var f = d[h].split("=");
			if (f[0]) {
				try {
					b[f[0].toLowerCase()] = f.length > 1 ? (window.decodeURIComponent ? decodeURIComponent(f[1].replace(/\+/g, " ")) : unescape(f[1])) : "";
				}
				catch (g) {
				}
			}
		}
		return b;
	}
	function T() {
		var c = window, b = U(document.URL);
		if (b.google_ad_override) {
			c.google_ad_override = b.google_ad_override;
		}
	}
	function J() {
		var c = 0;
		if (navigator.plugins && navigator.mimeTypes.length) {
			var b = navigator.plugins["Shockwave Flash"];
			if (b && b.description) {
				c = b.description.replace(/([a-zA-Z]|\s)+/, "").split(".")[0];
			}
		} else {
			if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0) {
				c = 3;
				var a = 1;
				while (a) {
					try {
						a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + (c + 1));
						c++;
					}
					catch (d) {
						a = null;
					}
				}
			} else {
				if (r()) {
					try {
						var a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
					}
					catch (d) {
						try {
							var a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
							c = 6;
							a.AllowScriptAccess = "always";
						}
						catch (d) {
							if (c == 6) {
								return c;
							}
						}
						try {
							a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
						}
						catch (d) {
						}
					}
					if (a != null) {
						c = a.GetVariable("$version").split(" ")[1].split(",")[0];
					}
				}
			}
		}
		return c;
	}
	window.google_resize_flash_ad = X;
	T();
	R(M);
	H();
})();

